<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Dial Pad with HTML and CSS</title>
    <style>
      /* 基础样式 */
      body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
        font-family: Arial, sans-serif;
      }

      /* 拨号盘容器 */
      .dial-pad {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #f0f0f0;
        border-radius: 10px;
        padding: 20px;
        width: 300px;
      }

      /* 拨号键行 */
      .dial-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
      }

      /* 拨号键 */
      .dial-button {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        border: none;
        background-color: #009688; /* 绿色背景 */
        color: white;
        font-size: 24px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      }

      /* 拨号提示文字 */
      .dial-prompt {
        text-align: center;
        margin-top: 20px;
        font-size: 16px;
      }

      /* 额外的顶部图标（这里只是示意，可能需要添加图片或图标字体） */
      .top-icons {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
      }

      /* 假设的图标样式（这里用文字代替） */
      .icon {
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 50%;
        background-color: lightgray;
        text-align: center;
        font-size: 14px;
      }
    </style>
  </head>
  <body>
    <div class="dial-pad">
      <div class="top-icons">
        <div class="icon">+</div>
        <!-- 这里可以添加中间的圆形按钮图标 -->
        <div class="icon">邮件</div>
      </div>

      <div class="dial-row">
        <button class="dial-button">1</button>
        <button class="dial-button">2</button>
        <button class="dial-button">3</button>
      </div>

      <div class="dial-row">
        <button class="dial-button">4</button>
        <button class="dial-button">5</button>
        <button class="dial-button">6</button>
      </div>

      <div class="dial-row">
        <button class="dial-button">7</button>
        <button class="dial-button">8</button>
        <button class="dial-button">9</button>
      </div>

      <div class="dial-prompt">拨号</div>
    </div>
  </body>
</html>
